<!DOCTYPE html>
<html lang="en" ng-app="app">
    <head>
        <meta charset="UTF-8">
        <title>Index</title>
        <script src="../../asset/angular.js"></script>
        <script src="./demo.js"></script>
    </head>
    <body ng-controller="MyCtrl as ctrl">
        {{ctrl.name}}
        {{name}}
        Users => {{users}}
        <ul>
            <li ng-repeat="user in users track by $index">
                {{user.name}}
                {{user.age}}
            </li>
        </ul>
        <hr>
        <ul>
            <li ng-repeat="(key, value) in {'adam':1,'amalie':2}">
                {{key}},{{value}}
            </li>
        </ul>
        <div ng-controller="Ctrl">
            {{name}}
        </div>
    </body>
</html>